Ext.define("Demo.model.purchase.purchaseInquiryModel",{
	extend:"Ext.data.Model",
	alias:"widget.purchaseInquiryModel",
	fields:[
	 {name:"billNo",type:'String'}
	,{name:"billDate",type:'String'}
	,{name:"createTime",type:'String'}
	,{name:"validDate",type:'String'}
	,{name:"logicStatus",type:'Integer'}
	,{name:"supplierNo",type:'String'}
	,{name:"addressNo",type:'String'}
	,{name:"priceOfTax",type:'Integer'}
	,{name:"maker",type:'String'}
	,{name:"permitter",type:'String'}
	,{name:"remark",type:'String'}
	,{name:"auditStatus",type:'Integer'}
	,{name:"auditDate",type:'String'}
	]
	,
	hasMany:{model:"purchaseInquiryDetailModel",name:"purchaseInquiryDetailModels"}
});

//pojo      hasMany:{model:'common.student', name:'students'}
// emp   id empName age sex
//select * from emp;
//id empName age sex
//
//public class Emp{
//	private int empId;
//	private String empName;
//	private int age;
//}
//
//syso  emp
